[INFO] fetching crate hammersbald 3.0.1...
[INFO] checking hammersbald-3.0.1 against try#a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399 for pr-145770
[INFO] extracting crate hammersbald 3.0.1 into /workspace/builds/worker-3-tc2/source
[INFO] started tweaking crates.io crate hammersbald 3.0.1
[INFO] finished tweaking crates.io crate hammersbald 3.0.1
[INFO] tweaked toml for crates.io crate hammersbald 3.0.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate hammersbald 3.0.1 on toolchain a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]      Locking 28 packages to latest compatible versions
[INFO] [stderr]       Adding bitcoin v0.26.2 (available: v0.32.7)
[INFO] [stderr]       Adding bitcoin_hashes v0.9.7 (available: v0.16.0)
[INFO] [stderr]       Adding hex v0.3.2 (available: v0.4.3)
[INFO] [stderr]       Adding rand v0.7.3 (available: v0.9.2)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 04d84490d4c9865f2a008d68fbc038ebbf5b00874126927507bd8b4b109e2636
[INFO] running `Command { std: "docker" "start" "-a" "04d84490d4c9865f2a008d68fbc038ebbf5b00874126927507bd8b4b109e2636", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "04d84490d4c9865f2a008d68fbc038ebbf5b00874126927507bd8b4b109e2636", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "04d84490d4c9865f2a008d68fbc038ebbf5b00874126927507bd8b4b109e2636", kill_on_drop: false }`
[INFO] [stdout] 04d84490d4c9865f2a008d68fbc038ebbf5b00874126927507bd8b4b109e2636
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3294de42e8b0ba4fc47753cd9bb638f34accecbcbd2f3913c0f9a39eeeb573b3
[INFO] running `Command { std: "docker" "start" "-a" "3294de42e8b0ba4fc47753cd9bb638f34accecbcbd2f3913c0f9a39eeeb573b3", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]    Compiling libc v0.2.175
[INFO] [stderr]    Compiling zerocopy v0.8.26
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]     Checking cfg-if v1.0.3
[INFO] [stderr]     Checking linked-hash-map v0.5.6
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking bitcoin_hashes v0.9.7
[INFO] [stderr]     Checking hex v0.3.2
[INFO] [stderr]     Checking lru-cache v0.1.2
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking hammersbald v3.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] error: variable does not need to be mutable
[INFO] [stdout]    --> src/memtable.rs:190:29
[INFO] [stdout]     |
[INFO] [stdout] 190 |                 if let Some(mut bucket) = self.buckets.write().unwrap().get_mut(bucket_number) {
[INFO] [stdout]     |                             ----^^^^^^
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]    --> src/lib.rs:25:9
[INFO] [stdout]     |
[INFO] [stdout] 25  | #![deny(unused_mut)]
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: variable does not need to be mutable
[INFO] [stdout]    --> src/memtable.rs:190:29
[INFO] [stdout]     |
[INFO] [stdout] 190 |                 if let Some(mut bucket) = self.buckets.write().unwrap().get_mut(bucket_number) {
[INFO] [stdout]     |                             ----^^^^^^
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]    --> src/lib.rs:25:9
[INFO] [stdout]     |
[INFO] [stdout] 25  | #![deny(unused_mut)]
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `PagedFileRead` is never used
[INFO] [stdout]   --> src/pagedfile.rs:47:11
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub trait PagedFileRead {
[INFO] [stdout]    |           ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `PagedFileWrite` is never used
[INFO] [stdout]   --> src/pagedfile.rs:52:11
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub trait PagedFileWrite {
[INFO] [stdout]    |           ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> src/pagedfile.rs:171:23
[INFO] [stdout]     |
[INFO] [stdout] 171 |     pub fn new(file: &'file dyn PagedFile, pref: PRef) -> PagedFileIterator {
[INFO] [stdout]     |                       ^^^^^ the lifetime is named here    ----------------- the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: consistently use `'file`
[INFO] [stdout]     |
[INFO] [stdout] 171 |     pub fn new(file: &'file dyn PagedFile, pref: PRef) -> PagedFileIterator<'file> {
[INFO] [stdout]     |                                                                            +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/logfile.rs:51:22
[INFO] [stdout]    |
[INFO] [stdout] 51 |     pub fn page_iter(&self) -> PagedFileIterator {
[INFO] [stdout]    |                      ^^^^^     ----------------- the same lifetime is hidden here
[INFO] [stdout]    |                      |
[INFO] [stdout]    |                      the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 51 |     pub fn page_iter(&self) -> PagedFileIterator<'_> {
[INFO] [stdout]    |                                                 ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/rolledfile.rs:63:58
[INFO] [stdout]    |
[INFO] [stdout] 63 | ...                   let ni = Path::new(name_index.clone());
[INFO] [stdout]    |                                                    ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `OsStr` does not implement `Clone`, so calling `clone` on `&OsStr` copies the reference, which does not do anything and can be removed
[INFO] [stdout]    = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout] 63 -                             let ni = Path::new(name_index.clone());
[INFO] [stdout] 63 +                             let ni = Path::new(name_index);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `PagedFileRead` is never used
[INFO] [stdout]   --> src/pagedfile.rs:47:11
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub trait PagedFileRead {
[INFO] [stdout]    |           ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `PagedFileWrite` is never used
[INFO] [stdout]   --> src/pagedfile.rs:52:11
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub trait PagedFileWrite {
[INFO] [stdout]    |           ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]   --> src/format.rs:84:32
[INFO] [stdout]    |
[INFO] [stdout] 84 |     pub fn deserialize(slice: &'e [u8]) -> Result<Payload, Error> {
[INFO] [stdout]    |                                ^^                 ------- the same lifetime is hidden here
[INFO] [stdout]    |                                |
[INFO] [stdout]    |                                the lifetime is named here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: consistently use `'e`
[INFO] [stdout]    |
[INFO] [stdout] 84 |     pub fn deserialize(slice: &'e [u8]) -> Result<Payload<'e>, Error> {
[INFO] [stdout]    |                                                          ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> src/format.rs:115:32
[INFO] [stdout]     |
[INFO] [stdout] 115 |     pub fn deserialize(slice: &'e [u8]) -> Data {
[INFO] [stdout]     |                                ^^          ---- the same lifetime is hidden here
[INFO] [stdout]     |                                |
[INFO] [stdout]     |                                the lifetime is named here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: consistently use `'e`
[INFO] [stdout]     |
[INFO] [stdout] 115 |     pub fn deserialize(slice: &'e [u8]) -> Data<'e> {
[INFO] [stdout]     |                                                ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> src/pagedfile.rs:171:23
[INFO] [stdout]     |
[INFO] [stdout] 171 |     pub fn new(file: &'file dyn PagedFile, pref: PRef) -> PagedFileIterator {
[INFO] [stdout]     |                       ^^^^^ the lifetime is named here    ----------------- the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: consistently use `'file`
[INFO] [stdout]     |
[INFO] [stdout] 171 |     pub fn new(file: &'file dyn PagedFile, pref: PRef) -> PagedFileIterator<'file> {
[INFO] [stdout]     |                                                                            +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/logfile.rs:51:22
[INFO] [stdout]    |
[INFO] [stdout] 51 |     pub fn page_iter(&self) -> PagedFileIterator {
[INFO] [stdout]    |                      ^^^^^     ----------------- the same lifetime is hidden here
[INFO] [stdout]    |                      |
[INFO] [stdout]    |                      the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 51 |     pub fn page_iter(&self) -> PagedFileIterator<'_> {
[INFO] [stdout]    |                                                 ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/api.rs:84:13
[INFO] [stdout]    |
[INFO] [stdout] 84 |     fn iter(&self) -> HammersbaldIterator;
[INFO] [stdout]    |             ^^^^^     ------------------- the same lifetime is hidden here
[INFO] [stdout]    |             |
[INFO] [stdout]    |             the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 84 |     fn iter(&self) -> HammersbaldIterator<'_>;
[INFO] [stdout]    |                                          ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/api.rs:241:13
[INFO] [stdout]     |
[INFO] [stdout] 241 |     fn iter(&self) -> HammersbaldIterator {
[INFO] [stdout]     |             ^^^^^     ------------------- the same lifetime is hidden here
[INFO] [stdout]     |             |
[INFO] [stdout]     |             the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 241 |     fn iter(&self) -> HammersbaldIterator<'_> {
[INFO] [stdout]     |                                          ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/rolledfile.rs:63:58
[INFO] [stdout]    |
[INFO] [stdout] 63 | ...                   let ni = Path::new(name_index.clone());
[INFO] [stdout]    |                                                    ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `OsStr` does not implement `Clone`, so calling `clone` on `&OsStr` copies the reference, which does not do anything and can be removed
[INFO] [stdout]    = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout] 63 -                             let ni = Path::new(name_index.clone());
[INFO] [stdout] 63 +                             let ni = Path::new(name_index);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]   --> src/format.rs:84:32
[INFO] [stdout]    |
[INFO] [stdout] 84 |     pub fn deserialize(slice: &'e [u8]) -> Result<Payload, Error> {
[INFO] [stdout]    |                                ^^                 ------- the same lifetime is hidden here
[INFO] [stdout]    |                                |
[INFO] [stdout]    |                                the lifetime is named here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: consistently use `'e`
[INFO] [stdout]    |
[INFO] [stdout] 84 |     pub fn deserialize(slice: &'e [u8]) -> Result<Payload<'e>, Error> {
[INFO] [stdout]    |                                                          ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> src/format.rs:115:32
[INFO] [stdout]     |
[INFO] [stdout] 115 |     pub fn deserialize(slice: &'e [u8]) -> Data {
[INFO] [stdout]     |                                ^^          ---- the same lifetime is hidden here
[INFO] [stdout]     |                                |
[INFO] [stdout]     |                                the lifetime is named here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: consistently use `'e`
[INFO] [stdout]     |
[INFO] [stdout] 115 |     pub fn deserialize(slice: &'e [u8]) -> Data<'e> {
[INFO] [stdout]     |                                                ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/api.rs:84:13
[INFO] [stdout]    |
[INFO] [stdout] 84 |     fn iter(&self) -> HammersbaldIterator;
[INFO] [stdout]    |             ^^^^^     ------------------- the same lifetime is hidden here
[INFO] [stdout]    |             |
[INFO] [stdout]    |             the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 84 |     fn iter(&self) -> HammersbaldIterator<'_>;
[INFO] [stdout]    |                                          ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/api.rs:241:13
[INFO] [stdout]     |
[INFO] [stdout] 241 |     fn iter(&self) -> HammersbaldIterator {
[INFO] [stdout]     |             ^^^^^     ------------------- the same lifetime is hidden here
[INFO] [stdout]     |             |
[INFO] [stdout]     |             the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 241 |     fn iter(&self) -> HammersbaldIterator<'_> {
[INFO] [stdout]     |                                          ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `hammersbald` (lib) due to 1 previous error; 9 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `hammersbald` (lib test) due to 1 previous error; 9 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "3294de42e8b0ba4fc47753cd9bb638f34accecbcbd2f3913c0f9a39eeeb573b3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3294de42e8b0ba4fc47753cd9bb638f34accecbcbd2f3913c0f9a39eeeb573b3", kill_on_drop: false }`
[INFO] [stdout] 3294de42e8b0ba4fc47753cd9bb638f34accecbcbd2f3913c0f9a39eeeb573b3
